package model

import "go.mongodb.org/mongo-driver/bson/primitive"

//浸渍小时数据
type DippingHourData struct {
	Id primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	//Furnace_chamber struct {//炉室温度
	Furnace_chamber1 float32 `json:"Furnace_chamber1" bson:"Furnace_chamber1" form:"Furnace_chamber1"`
	Furnace_chamber2 float32 `json:"Furnace_chamber2" bson:"Furnace_chamber2" form:"Furnace_chamber2"`
	Furnace_chamber3 float32 `json:"Furnace_chamber3" bson:"Furnace_chamber3" form:"Furnace_chamber3"`
	Furnace_chamber4 float32 `json:"Furnace_chamber4" bson:"Furnace_chamber4" form:"Furnace_chamber4"`
	Furnace_chamber5 float32 `json:"Furnace_chamber5" bson:"Furnace_chamber5" form:"Furnace_chamber5"`
	Furnace_chamber6 float32 `json:"Furnace_chamber6" bson:"Furnace_chamber6" form:"Furnace_chamber6"`
	//} `bson:"furnace_chamber" json:"furnace_chamber" form:"furnace_chamber"`
	Combustion_Chamber float32 `bson:"combustion_chamber" binding:"required" json:"combustion_chamber" form:"combustion_chamber"`
	//Hot_Oil_Oven struct { //热油炉温度
	Export1   float32 `bson:"export1" binding:"required" json:"export1" form:"export1"`
	Entrance1 float32 `bson:"entrance1" json:"entrance1" form:"entrance1"`
	//}
	//Hot_oil_furnace_power struct {//热油炉压力
	Export2   float32 `bson:"export2" json:"export2" form:"export2"`
	Entrance2 float32 `bson:"entrance2" json:"entrance2" form:"entrance2"`
	//} `bson:"Hot_oil_furnace_power" json:"Hot_oil_furnace_power" form:"Hot_oil_furnace_power"`
	//Level struct {
	High_Level_Trough float32 `bson:"High_level_trough" json:"High_level_trough" form:"High_level_trough"`
	Low_Level_Trough  float32 `bson:"Low_level_trough" json:"Low_level_trough" form:"Low_level_trough"`
	//} `json:"level" bson:"level" form:"level"`
	Pump           float32 `bson:"pump" json:"pump" form:"pump"`
	Norms_Type     string  `bson:"norms_type"  form:"norms_type" json:"norms_type"`
	Stipulate_Time string  `bson:"stipulate_time" form:"stipulate_time" json:"stipulate_time"` //前端规定时间
	Creator        string  `bson:"creator" json:"creator" form:"creator"`                      //创建者
	CreatedAt      string  `bson:"createdAt" json:"createdAt" form:"createdAt"`                //后端生成时间
	Describe       string  `bson:"describe" json:"describe" form:"describe"`                   //描述
	Batch_Number   string  `bson:"batch_number" binding:"required" json:"batch_number" form:"batch_number"`
	Operator       string  `bson:"operator"  form:"operator" json:"operator"`
}

//天然气用量
type NaturalGasUsage struct {
	Id                  primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Hot_Oil_OvenSelf    float32            `json:"hot_oil_ovenSelf" bson:"hot_oil_ovenSelf" form:"hot_oil_ovenSelf"` //热油炉天然气用量本班用量
	Hot_Oil_Oven        float32            `bson:"hot_oil_oven" json:"hot_oil_oven" form:"hot_oil_oven"`
	Preheating_OvenSelf float32            `bson:"preheating_ovenSelf" json:"preheating_ovenSelf" form:"preheating_ovenSelf"` //预热炉天然气用量本班用量
	Preheating_Oven     float32            `bson:"preheating_oven" json:"preheating_oven" form:"preheating_oven"`
	HoganasSelf         float32            `bson:"hoganasSelf" json:"hoganasSelf" form:"hoganasSelf"` //隧道窑天然气用量本班用量
	Hoganas             float32            `bson:"hoganas" json:"hoganas" form:"hoganas"`
	Operator            string             `bson:"operator" form:"operator" json:"operator"`
	Norms_Type          string             `bson:"norms_type"  form:"norms_type" json:"norms_type"`
	Stipulate_Time      string             `bson:"stipulate_time" form:"stipulate_time" json:"stipulate_time"` //前端规定时间
	Batch_Number        string             `bson:"batch_number" binding:"required" form:"batch_number" json:"batch_number"`
	Creator             string             `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt           string             `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe            string             `bson:"describe" json:"describe" form:"describe"`    //描述
}
